package com.study.entity.atte;

import com.study.entity.atte.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 请假配置表
 *
 * @Author wfw
 * @Date 2020/08/01 16:07
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "atte_leave_config")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LeaveConfig extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -7501351487808618438L;

    @Id
    private String id;

    private String companyId;

    private String departmentId;

    private String leaveType; //类型

    private Integer isEnable;
}
